﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gurucore.Framework.Core.XmlBinding;

namespace Gurucore.DTOGenerator
{
	[XmlClass("type_mapping")]
	public class TypeMappingSet
	{
		private string m_sProvider;

		[XmlProperty]
		public string Provider
		{
			get { return m_sProvider; }
			set { m_sProvider = value; }
		}

		private Dictionary<string, TypeMapping> m_dicType;

		[XmlSubSequence(HashKey = "name")]
		public Dictionary<string, TypeMapping> Type
		{
			get { return m_dicType; }
			set { m_dicType = value; }
		}
	}
}
